package com.augurit.common.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

@Entity
@Table(name = "WH_SPECIAL_TIME")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class WhSpecialTime implements java.io.Serializable {
	
	// 属性
	
	
	@Id
    @Column(name = "ID")
    @SequenceGenerator(name="SEQ_WH_SPECIAL_TIME", sequenceName="SEQ_WH_SPECIAL_TIME", allocationSize=1)
    @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="SEQ_WH_SPECIAL_TIME")
	private Long id;
	
	
	private Integer startHour;
	private Integer startMinute;
	
	private Integer endHour;
	
	private Integer endMinute;
	
	private String isHoliday;
	
	private String isAllDay;		//是否整天
	
	private String startTime;
	private String endTime;
	
	private Date day;
	
	private String memo;

	public Integer getStartHour() {
		return this.startHour;
	}

	public void setStartHour(Integer startHour) {
		this.startHour = startHour;
	}
	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	
	public Integer getStartMinute() {
		return startMinute;
	}

	public void setStartMinute(Integer startMinute) {
		this.startMinute = startMinute;
	}

	public Integer getEndHour() {
		return endHour;
	}

	public void setEndHour(Integer endHour) {
		this.endHour = endHour;
	}

	public Integer getEndMinute() {
		return endMinute;
	}

	public void setEndMinute(Integer endMinute) {
		this.endMinute = endMinute;
	}

	public String getIsHoliday() {
		return this.isHoliday;
	}

	public void setIsHoliday(String isHoliday) {
		this.isHoliday = isHoliday;
	}
	public Date getDay() {
		return this.day;
	}

	public void setDay(Date day) {
		this.day = day;
	}
	public String getMemo() {
		return this.memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public String getIsAllDay() {
		return isAllDay;
	}

	public void setIsAllDay(String isAllDay) {
		this.isAllDay = isAllDay;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}
	
	
}